package com.quick.develop.server.handle;


import io.netty.buffer.ByteBuf;
import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.string.StringDecoder;
import lombok.extern.slf4j.Slf4j;

import java.util.List;


@Slf4j
public class QuickDecodeHandle extends StringDecoder {

    @Override
    protected void decode(ChannelHandlerContext ctx, ByteBuf msg, List<Object> out) throws Exception {
        log.info("解码来自客户端的消息:{}",msg.toString());
        super.decode(ctx, msg, out);
    }
}
